﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace LPY.LeHealth.Service
{
    using AutoMapper;
    using AutoMapper.Execution;
    using AutoMapper.Configuration;
    using AutoMapper.Mappers;
    using LPY.LeHealth.DTO;
    using LPY.LeHealth.DAL;
   public  class tibaoService
    {
       tbdal dal = new tbdal();
       public List<tibao> getcombo2list1(int id)
       {
           var hospital = new tbdal().GetAllComboType(id);
           var rtv = Mapper.Map<List<tibao>, List<tibao>>(hospital);
           return rtv;
       }
    }
}
